package com.corpcredit.model;

// Generated Jul 22, 2008 11:56:54 PM by Hibernate Tools 3.2.0.CR1

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Version;

/**
 * CwzbJtys generated by hbm2java
 */
@Entity
@Table(name = "cwzb_jtys")
public class CwzbJtys implements java.io.Serializable
{

    private Long id;
    private int version;
    private Jbqk jbqk;
    private String username;
    private String operation;
    private Date optdate;
    private long ny;
    private BigDecimal yylrl;
    private BigDecimal zyywmlrl;
    private BigDecimal jzcsyl;
    private BigDecimal zzbhbl;
    private BigDecimal ylxjbl;
    private BigDecimal zyywsrzzl;
    private BigDecimal zcjll;
    private BigDecimal jlrzzl;
    private BigDecimal jzcynmdkyebl;
    private BigDecimal dqzwbxcfl;
    private BigDecimal lxbzbs;
    private BigDecimal xjldfzbl;
    private BigDecimal ldbl;
    private BigDecimal sdbl;
    private BigDecimal dbbl;
    private BigDecimal gdzczzsd;
    private BigDecimal zzczzl;
    private BigDecimal zcfzl;
    private BigDecimal cqzbhbl;
    private BigDecimal gdzcjzl;
    private Short xh;

    public CwzbJtys()
    {
    }

    public CwzbJtys( Long id, long ny )
    {
        this.id = id;
        this.ny = ny;
    }

    public CwzbJtys( Long id,
                     Jbqk jbqk,
                     String username,
                     String operation,
                     Date optdate,
                     long ny,
                     BigDecimal yylrl,
                     BigDecimal zyywmlrl,
                     BigDecimal jzcsyl,
                     BigDecimal zzbhbl,
                     BigDecimal ylxjbl,
                     BigDecimal zyywsrzzl,
                     BigDecimal zcjll,
                     BigDecimal jlrzzl,
                     BigDecimal jzcynmdkyebl,
                     BigDecimal dqzwbxcfl,
                     BigDecimal lxbzbs,
                     BigDecimal xjldfzbl,
                     BigDecimal ldbl,
                     BigDecimal sdbl,
                     BigDecimal dbbl,
                     BigDecimal gdzczzsd,
                     BigDecimal zzczzl,
                     BigDecimal zcfzl,
                     BigDecimal cqzbhbl,
                     BigDecimal gdzcjzl,
                     Short xh )
    {
        this.id = id;
        this.jbqk = jbqk;
        this.username = username;
        this.operation = operation;
        this.optdate = optdate;
        this.ny = ny;
        this.yylrl = yylrl;
        this.zyywmlrl = zyywmlrl;
        this.jzcsyl = jzcsyl;
        this.zzbhbl = zzbhbl;
        this.ylxjbl = ylxjbl;
        this.zyywsrzzl = zyywsrzzl;
        this.zcjll = zcjll;
        this.jlrzzl = jlrzzl;
        this.jzcynmdkyebl = jzcynmdkyebl;
        this.dqzwbxcfl = dqzwbxcfl;
        this.lxbzbs = lxbzbs;
        this.xjldfzbl = xjldfzbl;
        this.ldbl = ldbl;
        this.sdbl = sdbl;
        this.dbbl = dbbl;
        this.gdzczzsd = gdzczzsd;
        this.zzczzl = zzczzl;
        this.zcfzl = zcfzl;
        this.cqzbhbl = cqzbhbl;
        this.gdzcjzl = gdzcjzl;
        this.xh = xh;
    }

    @Id
    @Column(name = "ID", unique = true, nullable = false)
    @GeneratedValue(strategy=GenerationType.AUTO)
    public Long getId()
    {
        return this.id;
    }

    public void setId( Long id )
    {
        this.id = id;
    }

    @Version
    @Column(name = "version", nullable = false)
    public int getVersion()
    {
        return this.version;
    }

    public void setVersion( int version )
    {
        this.version = version;
    }

    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "jbq_ID")
    public Jbqk getJbqk()
    {
        return this.jbqk;
    }

    public void setJbqk( Jbqk jbqk )
    {
        this.jbqk = jbqk;
    }

    @Column(name = "username", length = 50)
    public String getUsername()
    {
        return this.username;
    }

    public void setUsername( String username )
    {
        this.username = username;
    }

    @Column(name = "operation", length = 20)
    public String getOperation()
    {
        return this.operation;
    }

    public void setOperation( String operation )
    {
        this.operation = operation;
    }

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "optdate", length = 23)
    public Date getOptdate()
    {
        return this.optdate;
    }

    public void setOptdate( Date optdate )
    {
        this.optdate = optdate;
    }

    @Column(name = "ny", nullable = false)
    public long getNy()
    {
        return this.ny;
    }

    public void setNy( long ny )
    {
        this.ny = ny;
    }

    @Column(name = "yylrl", precision = 18, scale = 4)
    public BigDecimal getYylrl()
    {
        return this.yylrl;
    }

    public void setYylrl( BigDecimal yylrl )
    {
        this.yylrl = yylrl;
    }

    @Column(name = "zyywmlrl", precision = 18, scale = 4)
    public BigDecimal getZyywmlrl()
    {
        return this.zyywmlrl;
    }

    public void setZyywmlrl( BigDecimal zyywmlrl )
    {
        this.zyywmlrl = zyywmlrl;
    }

    @Column(name = "jzcsyl", precision = 18, scale = 4)
    public BigDecimal getJzcsyl()
    {
        return this.jzcsyl;
    }

    public void setJzcsyl( BigDecimal jzcsyl )
    {
        this.jzcsyl = jzcsyl;
    }

    @Column(name = "zzbhbl", precision = 18)
    public BigDecimal getZzbhbl()
    {
        return this.zzbhbl;
    }

    public void setZzbhbl( BigDecimal zzbhbl )
    {
        this.zzbhbl = zzbhbl;
    }

    @Column(name = "ylxjbl", precision = 18)
    public BigDecimal getYlxjbl()
    {
        return this.ylxjbl;
    }

    public void setYlxjbl( BigDecimal ylxjbl )
    {
        this.ylxjbl = ylxjbl;
    }

    @Column(name = "zyywsrzzl", precision = 18, scale = 4)
    public BigDecimal getZyywsrzzl()
    {
        return this.zyywsrzzl;
    }

    public void setZyywsrzzl( BigDecimal zyywsrzzl )
    {
        this.zyywsrzzl = zyywsrzzl;
    }

    @Column(name = "zcjll", precision = 18)
    public BigDecimal getZcjll()
    {
        return this.zcjll;
    }

    public void setZcjll( BigDecimal zcjll )
    {
        this.zcjll = zcjll;
    }

    @Column(name = "jlrzzl", precision = 18, scale = 4)
    public BigDecimal getJlrzzl()
    {
        return this.jlrzzl;
    }

    public void setJlrzzl( BigDecimal jlrzzl )
    {
        this.jlrzzl = jlrzzl;
    }

    @Column(name = "jzcynmdkyebl", precision = 18, scale = 4)
    public BigDecimal getJzcynmdkyebl()
    {
        return this.jzcynmdkyebl;
    }

    public void setJzcynmdkyebl( BigDecimal jzcynmdkyebl )
    {
        this.jzcynmdkyebl = jzcynmdkyebl;
    }

    @Column(name = "dqzwbxcfl", precision = 18)
    public BigDecimal getDqzwbxcfl()
    {
        return this.dqzwbxcfl;
    }

    public void setDqzwbxcfl( BigDecimal dqzwbxcfl )
    {
        this.dqzwbxcfl = dqzwbxcfl;
    }

    @Column(name = "lxbzbs", precision = 18)
    public BigDecimal getLxbzbs()
    {
        return this.lxbzbs;
    }

    public void setLxbzbs( BigDecimal lxbzbs )
    {
        this.lxbzbs = lxbzbs;
    }

    @Column(name = "xjldfzbl", precision = 18)
    public BigDecimal getXjldfzbl()
    {
        return this.xjldfzbl;
    }

    public void setXjldfzbl( BigDecimal xjldfzbl )
    {
        this.xjldfzbl = xjldfzbl;
    }

    @Column(name = "ldbl", precision = 18)
    public BigDecimal getLdbl()
    {
        return this.ldbl;
    }

    public void setLdbl( BigDecimal ldbl )
    {
        this.ldbl = ldbl;
    }

    @Column(name = "sdbl", precision = 18)
    public BigDecimal getSdbl()
    {
        return this.sdbl;
    }

    public void setSdbl( BigDecimal sdbl )
    {
        this.sdbl = sdbl;
    }

    @Column(name = "dbbl", precision = 18, scale = 4)
    public BigDecimal getDbbl()
    {
        return this.dbbl;
    }

    public void setDbbl( BigDecimal dbbl )
    {
        this.dbbl = dbbl;
    }

    @Column(name = "gdzczzsd", precision = 18)
    public BigDecimal getGdzczzsd()
    {
        return this.gdzczzsd;
    }

    public void setGdzczzsd( BigDecimal gdzczzsd )
    {
        this.gdzczzsd = gdzczzsd;
    }

    @Column(name = "zzczzl", precision = 18)
    public BigDecimal getZzczzl()
    {
        return this.zzczzl;
    }

    public void setZzczzl( BigDecimal zzczzl )
    {
        this.zzczzl = zzczzl;
    }

    @Column(name = "zcfzl", precision = 18, scale = 4)
    public BigDecimal getZcfzl()
    {
        return this.zcfzl;
    }

    public void setZcfzl( BigDecimal zcfzl )
    {
        this.zcfzl = zcfzl;
    }

    @Column(name = "cqzbhbl", precision = 18)
    public BigDecimal getCqzbhbl()
    {
        return this.cqzbhbl;
    }

    public void setCqzbhbl( BigDecimal cqzbhbl )
    {
        this.cqzbhbl = cqzbhbl;
    }

    @Column(name = "gdzcjzl", precision = 18, scale = 4)
    public BigDecimal getGdzcjzl()
    {
        return this.gdzcjzl;
    }

    public void setGdzcjzl( BigDecimal gdzcjzl )
    {
        this.gdzcjzl = gdzcjzl;
    }

    @Column(name = "xh")
    public Short getXh()
    {
        return this.xh;
    }

    public void setXh( Short xh )
    {
        this.xh = xh;
    }

}
